package com.example.visitedsys.informationGet;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.Date;

/**
 * @author  SongPeng
 * @date  2021/10/19 14:28
 * @version 1.0
 */

@Data
public class UserVO {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;
    private String name;
    private String userName;
    private Integer userSex;
    private Date userBirth;
    private Integer userAge;
    //用户头像
    private String avater;

    private String userPhone;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long partId;
    private Boolean userStatus;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy年MM月dd日")
    private Date modifiedTime;
    private Integer userType;
    private String password;
    private String partName;


}
